package com.my.main.service.userAndRight.serviceImpl;

import com.my.main.base.mapper.BaseMapper;
import com.my.main.base.service.Impl.BaseServiceImpl;
import com.my.main.entity.userAndRight.SysRightsRoleUserRelation;
import com.my.main.mapper.userAndRight.SysRightsRoleUserRelationMapper;
import com.my.main.service.userAndRight.SysRightsRoleUserRelationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;


@Service
public class SysRightsRoleUserRelationServiceImpl extends BaseServiceImpl<SysRightsRoleUserRelation>  implements SysRightsRoleUserRelationService {

    @Autowired
    private SysRightsRoleUserRelationMapper sysRightsRoleUserRelationMapper;
    @Resource(name= "sysRightsRoleUserRelationMapper")
    public void setBaseMapper(BaseMapper<SysRightsRoleUserRelation> sysRightsRoleUserRelationMapper) {
        super.setBaseMapper(sysRightsRoleUserRelationMapper);
    }

    @Override
    public List<SysRightsRoleUserRelation> queryListByMap(Map<String, Object> map) {
        return sysRightsRoleUserRelationMapper.queryListByMap(map);
    }
}
